package com.hentai.androidserver.mapper;

import com.hentai.androidserver.domain.Phone;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PhoneMapper {

    List<Phone> queryByUserId(Integer uid);

    Phone getPhoneByPid(Integer uid);

    void updatePhoneByPhone(Phone phone);

    void deleteByPid(Integer pid);

    void addPhone(Phone phone);

}
